services.hostapd.radios.<name>.networks.<name>.authentication.wpaPskFile

Sets the password(s) for WPA-PSK. Similar to wpaPasswordFile, but additionally allows specifying multiple passwords, and some other options.

Each line, except for empty lines and lines starting with #, must contain a MAC address and either a 64-hex-digit PSK or a password separated with a space. The password must follow the same rules as outlined in wpaPassword. The special MAC address 00:00:00:00:00:00 can be used to configure PSKs that any client can use.

An optional key identifier can be added by prefixing the line with keyid=<keyid_string> An optional VLAN ID can be specified by prefixing the line with vlanid=<VLAN ID>. An optional WPS tag can be added by prefixing the line with wps=<0/1> (default: 0). Any matching entry with that tag will be used when generating a PSK for a WPS Enrollee instead of generating a new random per-Enrollee PSK.

Not used when mode is "wpa3-sae".

Type
null or absolute path
Default
null
Declared
<nixpkgs/nixos/modules/services/networking/hostapd.nix>